﻿using Microsoft.SharePoint.Administration;

namespace SPWarmup
{
    public static class SpWebApplicationExtensions
    {
        public static void WarmUp(this SPWebApplication webApplication)
        {
            WarmUpRequest.Create(webApplication.AlternateUrls[0].Uri.AbsoluteUri);
        }
    }
}
